package GUI.SalesEmployee;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JRadioButton;
import javax.swing.JButton;

public class UpdateClientPermissionPnl extends JPanel {
	private JTextField textFieldId;
	private JTextField textFieldDate;

	/**
	 * Create the panel.
	 */
	public UpdateClientPermissionPnl() {
		setLayout(null);
		
		JLabel lblClientId = new JLabel("Client Id:");
		lblClientId.setBounds(27, 22, 46, 14);
		add(lblClientId);
		
		textFieldId = new JTextField();
		textFieldId.setBounds(82, 19, 100, 20);
		add(textFieldId);
		textFieldId.setColumns(10);
		
		JLabel lblDate = new JLabel("Date: ");
		lblDate.setBounds(27, 67, 46, 14);
		add(lblDate);
		
		textFieldDate = new JTextField();
		textFieldDate.setBounds(82, 64, 100, 20);
		add(textFieldDate);
		textFieldDate.setColumns(10);
		
		JRadioButton rdbtnAccept = new JRadioButton("Accept");
		rdbtnAccept.setBounds(27, 126, 68, 23);
		add(rdbtnAccept);
		
		JRadioButton rdbtnDidntAccept = new JRadioButton("Not Agree");
		rdbtnDidntAccept.setBounds(107, 126, 109, 23);
		add(rdbtnDidntAccept);
		
		JButton btnsetPermission = new JButton("Set Permission");
		btnsetPermission.setBounds(93, 213, 109, 23);
		add(btnsetPermission);

	}
}
